Ext.BLANK_IMAGE_URL = '../../../ext/resources/images/default/s.gif';
Ext.onReady(function() {
	 var grid=new Ext.grid.GridPanel({
			region: 'center',
			xtype: 'grid',
             width:600,
			autoExpandColumn:"1",
			title: title,
             autoHeight:true,
             frame:true,
			store: new Ext.data.SimpleStore({
				fields: fields,
				data: datas
			}),
			colModel: new Ext.grid.ColumnModel({
				columns:columns,
				defaultSortable: true
			}),
			viewConfig: {
				forceFit: true
			},
			plugins: (rows?[new Ext.ux.plugins.GroupHeaderGrid({
				rows: [rows],
				hierarchicalColMenu: true
			})]:null)
	});
      grid.render(document.body);
});